package com.hzhr.iot.user.model.user_basicInfo;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.user.entity.UserEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="User_BasicInfoModel", description="用户的基本信息模型")
@CygModel(entity = UserEntity.class)
public class User_BasicInfoModel {
    @ApiModelProperty(value="说明 : 用户编号(唯一标识)", required=true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;
    @ApiModelProperty(value = "说明 : 真实名称(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "realName")
    private String realName;
    @ApiModelProperty(value = "说明 : 性别(show_info=true时展示; 关联 : user_service.options.code, typeName='GENDER')")
    @CygProperty(show = "_show_info", entityProp = "gender")
    private String gender;
    @ApiModelProperty(value = "说明 : 工号(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "staffNo")
    private String staffNo;
    @ApiModelProperty(value = "说明 : 身份证(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "idcard")
    private String idcard;
    @ApiModelProperty(value = "说明 : 地址(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "addr")
    private String addr;
    @ApiModelProperty(value = "说明 : 备注(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "remarks")
    private String remarks;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getStaffNo() {
        return staffNo;
    }

    public void setStaffNo(String staffNo) {
        this.staffNo = staffNo;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
